package com.wrater.zero.models.checkReportTemplate.vo;

import com.wrater.zero.common.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wrater.zero.models.checkReportTemplate.entity.CheckReportTemplate;
import com.wrater.zero.common.base.vo.BaseForm;
import org.springframework.beans.BeanUtils;

/**
 * @Package: com.wrater.zero.models.checkReportTemplate.entity
 * @Description: <检查化验报告模板VO>
 * @Author: qiaoxs
 * @CreateDate: 2021-04-07
 * @UpdateUser: qiaoxs
 * @UpdateDate: 2021-04-07
 * @UpdateRemark: <>
 * @Version: 1.0
 */
@Data
@ApiModel(value = "检查化验报告模板实体")
public class CheckReportTemplateVO extends BaseForm<CheckReportTemplateVO, CheckReportTemplate> {

private static final long serialVersionUID = 5824505524608300560L;

    @ApiModelProperty(value = "报告主键")
    private String reportId;
    @ApiModelProperty(value = "分类主键")
    private String checkTypeId;
    @ApiModelProperty(value = "报告名称")
    private String reportName;
    @ApiModelProperty(value = "报告标题")
    private String reportTitle;
    @ApiModelProperty(value = "报告代号")
    private String reportCode;
    @ApiModelProperty(value = "标本类型")
    private String specimenType;
    @ApiModelProperty(value = "报告说明")
    private String reportExplain;

    /**
     * 返回vo对应实体类
     * @return
     */
    @Override
    public CheckReportTemplate buildEntity() {
        CheckReportTemplate entity = new CheckReportTemplate();
        BeanUtils.copyProperties(this, entity);
        return entity;
    }
}